package com.hu.zhcc.shiro.service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.Tj_TQuestionnaireAnswerMapper;
import com.hu.zhcc.shiro.dao.Tj_TQuestionnaireMapper;
import com.hu.zhcc.shiro.entity.tj.TQuestionnaireAnswer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tj
 * @since 2021-06-21
 */
@Service
public class Tj_TQuestionnaireAnswerServiceImpl extends ServiceImpl<Tj_TQuestionnaireAnswerMapper, TQuestionnaireAnswer> implements Tj_TQuestionnaireAnswerService {
    @Autowired
    private Tj_TQuestionnaireAnswerMapper mapper;
    @Override
    public int addAnswer(TQuestionnaireAnswer tQuestionnaireAnswer) {
        return mapper.addAnswer(tQuestionnaireAnswer);
    }
}
